#define ROUTES 20
#define ROUTE_N_BITS 7
#define ROUTE_SIZE_BITS 8
#define BITS_PER_ROUTE ( ROUTE_N_BITS + ROUTE_SIZE_BITS )
#define ROUTE_MAX_N 68
#define BUSES 100

#include <GA\Task\Factory\UniTranspTaskFactory.hpp>
#include <GA\BinaryString\BoolArray.hpp>


unitraf::BinaryString* unitraf::UniTranspTaskFactory::createBinStr( ) const
{
	return new BoolArray( ROUTES * BITS_PER_ROUTE );
}

unitraf::UniTranspTask* unitraf::UniTranspTaskFactory::createUniTranspTask( ) const
{
  //TODO:get ROUTE_MAX_N form the graph
 // return new UniTranspTask( BITS_PER_ROUTE, ROUTES, ROUTE_MAX_N );
	return new UniTranspTask( ROUTE_N_BITS, ROUTE_SIZE_BITS, ROUTES, ROUTE_MAX_N, BUSES );
}